package com.flower.service;

import com.flower.model.dto.BuyPageQueryDTO;
import com.flower.model.entity.Buy;
import com.flower.result.PageResult;
import com.github.pagehelper.Page;

import java.util.List;

@SuppressWarnings("all")
/**
 *@ClassName BuyService
 *@Description TODO
 *@Author @O_o  GW__
 *@Date 2025/6/16 23:04
 *@Version 1.0
 */

public interface BuyService {
    PageResult pageQuery(BuyPageQueryDTO buyPageQueryDTO);

    void addOrUpdate(Buy buy);

    void deleteBuy(Integer id);

    void deleteBuyBatch(List<Integer> ids);

    PageResult findPage1(Page<Object> objects);
}
